package com.open.capacity.study.service;

import com.open.capacity.common.exception.service.ServiceException;
import com.open.capacity.common.model.LearnProcess;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;

import java.util.Map;

public interface LearnProcessService {
    Result insert(LearnProcess learnProcess) throws ServiceException;

    Result updateScore(LearnProcess learnProcess) throws ServiceException;

    PageResult<LearnProcess> findList(Map<String, Object> params) throws ServiceException;

    Result otherQuery(Map<String, Object> params) throws ServiceException;

    Result updateSummary(LearnProcess learnProcess);
}
